﻿<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<Comissoes.Models.NotasFiscaisModel>" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <%= ViewData["scripts"] %>
    <script type="text/javascript" src="../../Scripts/digitacoes/inutilizarnfe.js"></script>
</head>
<body>
    <div class="cabecalho ui-state-highlight">
        <span class="icoedt" />
        <span class="txt">
            <%= Html.Encode("Inutilização de Notas Fiscais") %>
        </span>
    </div>
    <form id="MainForm" action="#">
        <fieldset class="container transparent">
            <%= Html.SubmitButton("Confirmar", "gearcommand", "Confirmar", "Confirmar") %>
        </fieldset>
        <fieldset class="container border field500">
            <%= Html.Label("COD_LOJA", "for80 clear", "Loja:")%>
            <%= Html.LabelInput(Html.TextBox("COD_LOJA", null, new { title = "código da loja", onblur = "lookup('COD_LOJA', 'NOME_LOJA', this.value, 'LOJAS')" }), "input60 right integer") %>
            <%= Html.Lookup("/Default/LookupList", "loja", "COD_LOJA", "NOME_LOJA", "LOJAS") %>
            <%= Html.LabelInput(Html.TextAutoComplete("COD_LOJA", "NOME_LOJA", "Lojas", new { title = "nome da loja" }), "input300") %>

            <%= Html.Label("NF_INI", "for80 clear", "Nº Inicial:") %>
            <%= Html.LabelInput(Html.TextBox("NF_INI", new { title = "numeração inicial" }), "input100 right integer")%>

            <%= Html.Label("NF_FIN", "for60 right", "Nº Final:") %>
            <%= Html.LabelInput(Html.TextBox("NF_FIN", new { title = "numeração final" }), "input100 right integer") %>

            <%= Html.Label("SERIE_NF", "for40 right", "Série:") %>
            <%= Html.LabelInput(Html.TextBox("SERIE_NF", new { title = "série das notas" }), "input60 right integer") %>

            <%= Html.Label("AMBIENTE_NF", "for80 clear", "Ambiente:") %>
            <%= Html.LabelInput(Html.DropDownList("AMBIENTE_NF", Model.AMBIENTE_NF, new { title = "tipo de ambiente" }), "select100") %>

            <%= Html.Label("JUSTINUT_NF", "for80 clear", "Justificativa:") %>
            <%= Html.LabelInput(Html.TextArea("JUSTINUT_NF", new { title = "justificativa para inutilização da(s) nota(s) fiscal(is)", rows = "5" }), "area400") %>
        </fieldset>
    </form>
</body>
</html>